You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every time I try to use the sandbox with correct client id and secrete I get a strange error on access
doing this directly with httpx or other module in python works fine but then I have to formulate all the REST commands manually and I get error.
Based on docs for sandbox I set base_url = "https://api.ingrammicro.com:443/sandbox" following your access example.
'Reason: Not Found\n'
"HTTP response headers: HTTPHeaderDict({'Date': 'Wed, 06 Mar 2024 00:52:49 "
"GMT', 'Content-Type': 'application/json', 'Content-Length': '186', "
"'Connection': 'keep-alive', 'X-Frame-Options': 'DENY', "
"'Strict-Transport-Security': 'max-age=86400', 'X-Content-Type-Options': "
''nosniff', 'Content-Security-Policy': "frame-ancestors 'none'", '
"'X-XSS-Protection': '1'})\n"
'HTTP response body: {"fault":{"faultstring":"Unable to identify proxy for '
'host: default and url: '
'\/sandbox\/oauth\/oauth20\/token","detail":{"errorcode":"messaging.adaptors.http.flow.ApplicationNotFound"}}}\n'
The text was updated successfully, but these errors were encountered:
salmanmarvasti
changed the title
cannot use the SDK with sandbox - error even on getting code.
cannot use the SDK with sandbox - error even on getting authenticated -- works ok direct via requests.
Mar 6, 2024
To obtain the access token, please use the base path: https://api.ingrammicro.com:443 for both sandbox and production environments. This should resolve the access issue. Please ensure that the base path remains the same only for the get-access-token operation. Thank you for your attention.
Every time I try to use the sandbox with correct client id and secrete I get a strange error on access
doing this directly with httpx or other module in python works fine but then I have to formulate all the REST commands manually and I get error.
Based on docs for sandbox I set base_url = "https://api.ingrammicro.com:443/sandbox" following your access example.
'Reason: Not Found\n'
"HTTP response headers: HTTPHeaderDict({'Date': 'Wed, 06 Mar 2024 00:52:49 "
"GMT', 'Content-Type': 'application/json', 'Content-Length': '186', "
"'Connection': 'keep-alive', 'X-Frame-Options': 'DENY', "
"'Strict-Transport-Security': 'max-age=86400', 'X-Content-Type-Options': "
''nosniff', 'Content-Security-Policy': "frame-ancestors 'none'", '
"'X-XSS-Protection': '1'})\n"
'HTTP response body: {"fault":{"faultstring":"Unable to identify proxy for '
'host: default and url: '
'\/sandbox\/oauth\/oauth20\/token","detail":{"errorcode":"messaging.adaptors.http.flow.ApplicationNotFound"}}}\n'
The text was updated successfully, but these errors were encountered: