AdobeDocs / AdobeDocs/pdfservices-api-documentation
Missing error handling documentation
- Dominant language
- JavaScript
- Stars
- 20
- Forks
- 229
- PR merge metrics
- No merged PRs in 30d
Description
If for some reason the credentials have expired or the domain making the request has not been whitelisted, we get a 401 Unauthorized error on the jwt authentication request. But I couldn't find any example on how to handle this kind of error properly, like in a global document event like "adobe_dc_view_sdk.error" for example or as an error callback in the configuration object.



Contributor guide
Research direction
Start by reviewing the JWT authentication request and the documented adobe_dc_view_sdk.error event and configuration object entry points. Determine whether 401 Unauthorized responses from expired credentials or non-whitelisted domains have a supported handling path, then document the applicable example or callback behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- authentication, documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100