Is your pull request related to a problem? Please describe
While the sample tutorial, a error was shown for the NLP saying Unable to activate built-in NLP: Bad Request while doing the app setup configuration on link
http://<APP_HOST_URL>/profile?mode=all&verify_token=<VERIFY_TOKEN>
Is your pull request related to a problem? Please describe
While the sample tutorial, a error was shown for the NLP saying
Unable to activate built-in NLP: Bad Request
while doing the app setup configuration on linkhttp://<APP_HOST_URL>/profile?mode=all&verify_token=<VERIFY_TOKEN>
Describe the solution
The error is a malformed URL on: https://github.com/fbsamples/original-coast-clothing/blob/main/services/graph-api.js#L214 Just change the line for:
let url = new URL(`${config.apiUrl}`/me/nlp_configs);
Test plan
https://user-images.githubusercontent.com/26100917/167716327-4b4d9310-4234-4b51-b5e2-72277d90ee02.mov
Checklist