-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New error 50240 is not clear enough to novice developers #7213
-
Recently, a new error was introduced for the bulk update commands endpoint:
50240: You cannot remove this app's Entry Point command in a bulk update operation. Please include the Entry Point command in your update request or delete it separately.
This error, however, is not helpful for developers who are just starting out and only know the API through high level abstraction with libraries.
A developer might accidentally enable activities on their application, which automatically generates a new entry point command and breaks the normal bulk update endpoint. When this happens, there are 2 options to fix the error:
- Manually delete the command with a curl to the delete endpoint
- Disable activities
Since the average API user does not know anything about these endpoints, the second one is easier to follow. I propose to improve the error, by adding this option as a remedy in addition to the other suggestions.
For instance:
You cannot remove this app's Entry Point command in a bulk update operation. Please include the Entry Point command in your update request or delete it separately. Alternatively, disable activites in your application dashboard.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 3
Replies: 2 comments
-
This saved me thank you. I had no idea it was as simple as turning off activities.
Beta Was this translation helpful? Give feedback.
All reactions
-
im +1-ing this, took me like an hour of searching before finding this
Beta Was this translation helpful? Give feedback.