Props not supported for prop <app name> error

This topic was automatically generated from Slack. You can find the original thread here.

Sergio Rodriguez : I am working with PR review where it was requested that common props appearing more than once in component files are moved to the app file. I noticed when I do so, I can’t do pd publish on actions, getting the error
> component create api call responded with status: 400, body: {“error”:"{“name”:“UserError”,“message”:“props not supported for prop notion”}"}
if I remove the props: {} object from the app file, I can publish properly the action. Is there specific syntax for adding props into the app file?

Dylan Sather (Pipedream) : would you mind linking me to the specific line of the PR where you’re trying to include the prop?

Sergio Rodriguez : It’s on line 7. of the notion.app file pipedream/notion.app.js at 6051160c76eb0b14346c8ee532c51ca822338e08 · PipedreamHQ/pipedream · GitHub

Sergio Rodriguez : this is the file that breaks when trying to pd publish pipedream/get-all-users.js at 6051160c76eb0b14346c8ee532c51ca822338e08 · PipedreamHQ/pipedream · GitHub

Sergio Rodriguez : I just pushed my current changes.

Dylan Sather (Pipedream) : In the app file, props need to be defined with propDefinitions and not props, e.g. pipedream/github.app.js at 9793829916bd5a502948d4e741e0834378caa53e · PipedreamHQ/pipedream · GitHub