mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-16 08:30:07 +00:00
Merge pull request #115 from sasjs/issue-114
chore(error-message): updated error message for forbidden request
This commit is contained in:
@@ -48,7 +48,7 @@ export async function makeRequest<T>(
|
|||||||
try {
|
try {
|
||||||
body = JSON.parse(body)
|
body = JSON.parse(body)
|
||||||
|
|
||||||
body.message = `Forbidden. Check your permissions and user groups. ${
|
body.message = `Forbidden. Check your permissions and user groups, and also the scopes granted when registering your CLIENT_ID. ${
|
||||||
body.message || ''
|
body.message || ''
|
||||||
}`
|
}`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user