Error in fetch https://nyuwh.brightspace.com:443/d2l/api/lp/1.5/28986/sections/settings/

joyce.l.2900
joyce.l.2900 Posts: 3 🔍
the API is issue error without any explanation. what error could it be.
running other API is successful
Tagged:

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

    It would be helpful if you can provide a bot more details so that we can assist you accordingly.

    Thanks

    Sreelakshmi

  • joyce.l.2900
    joyce.l.2900 Posts: 3 🔍
    edited August 7

    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