@@ -1004,13 +1004,13 @@ function fetchJSON(endpoint, tenantId, token) {
1004
1004
break ;
1005
1005
case 401 :
1006
1006
case 403 :
1007
- quit ( 'Stopped due to a permissions error' ,
1008
- 'A FOLIO authentication error occurred . This can be' +
1009
- ' due to an invalid FOLIO URL, tenant ID, or token ,' +
1007
+ quit ( 'Stopped due to an authentication error' ,
1008
+ 'The FOLIO server rejected the request . This can be' +
1009
+ ' due to an invalid token, FOLIO URL, or tenant ID,' +
1010
1010
' or if the user account lacks FOLIO permissions to' +
1011
1011
' perform the action requested. To fix this, try to' +
1012
- ' reset the FOLIO credentials (using the Boffo menu' +
1013
- ' option for that) . If this error persists, please' +
1012
+ ' set the FOLIO user credentials via the Boffo menu' +
1013
+ ' option for that. If this error persists, please' +
1014
1014
' contact your FOLIO administrator for assistance.' ) ;
1015
1015
break ;
1016
1016
case 404 :
@@ -1024,11 +1024,11 @@ function fetchJSON(endpoint, tenantId, token) {
1024
1024
case 409 :
1025
1025
case 500 :
1026
1026
case 501 :
1027
- quit ( 'Stopped due to a server error' ,
1028
- 'FOLIO turned an internal server error. This may be due ' +
1029
- ' to a temporary problem with FOLIO itself . Please wait' +
1030
- ' a moment , then retry the same operation. If the error ' +
1031
- ' persists, please report it to the developers.' +
1027
+ quit ( 'Stopped due to a FOLIO server error' ,
1028
+ 'This may be due to a temporary network problem or a ' +
1029
+ ' temporary problem with the FOLIO server . Please wait' +
1030
+ ' for a few seconds , then retry the same operation. If' +
1031
+ ' the error persists, please report it to the developers.' +
1032
1032
` (Error code ${ httpCode } .)` ) ;
1033
1033
break ;
1034
1034
default :
0 commit comments