Skip to content

Commit

Permalink
Solve 429 - Too Many Requests issue
Browse files Browse the repository at this point in the history
Added TWILIO_SERVERLESS_API_CONCURRENCY=1 to resolve an issue where `npm run deploy` would fail with:
> ERROR Failed API Request 20429
> 
> Too Many Requests
  • Loading branch information
jandusek authored Aug 19, 2020
1 parent e89e5da commit 34ab415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"deploy": "react-scripts build && rm -rf deploy/assets/* && cp -r build/ deploy/assets/ && cd deploy && twilio serverless:deploy",
"deploy": "react-scripts build && rm -rf deploy/assets/* && cp -r build/ deploy/assets/ && cd deploy && TWILIO_SERVERLESS_API_CONCURRENCY=1 twilio serverless:deploy",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
Expand Down

0 comments on commit 34ab415

Please sign in to comment.