Error in fetch https://nyuwh.brightspace.com:443/d2l/api/lp/1.5/28986/sections/settings/
running other API is successful
Answers
-
Hi Joyce,
Thank you for reaching out to us through community.
To help assist you better, can you please provide us with snippet of what you see when you run this API call?
Are you seeing any error in browser window or in dev console ?
Also, is it any of these error codes seen when you run the API call
- 403 Forbidden – No permission to see sections.
- 404 Not Found – No such org unit, or org unit has no set property data.
- 429 Too Many Requests – API call-rate limit exceeded.
It would be helpful if you can provide a bot more details so that we can assist you accordingly.
Thanks
Sreelakshmi
-
Following is the only error message from log when calling /d2l/api/lp/1.5/28384/sections/settings :
Error in fetch https://nyuwhtest.brightspace.com:443/d2l/api/lp/1.5/28384/sections/settings?x_t=1723037561&x_a=Z2MpyLDOBJRVmImelfzLuA&x_c=ka8SQ3xQx8bCqPCK
TMBTwvv5-xQBh5uCYhi_7h8FaJM&x_b=3MbrnJzF57HF96Cyl4TuBX&x_d=QqkOsg1yOgWe5GJgB9LWg8PwduqmjXjJBGOhWUJuYpA
the response from this API call is undefined, so there is no way to check what the status is. In real, the section setting for course 28384 doesn't exist, but that's the purpose of this call to check if section setting exist or not, but it render without responds to check status.
Note: if section exists then this API call returned the data