Exception: AppStoreServerApi::Error::UnauthorizedError
- Inherits:
-
AppStoreServerApi::Error
- Object
- StandardError
- AppStoreServerApi::Error
- AppStoreServerApi::Error::UnauthorizedError
- Defined in:
- lib/app_store_server_api/error.rb
Overview
The JSON Web Token (JWT) in the authorization header is invalid. For more information, see Generating JSON Web Tokens for API requests. other:
- wrong environment (sandbox/production)
Constant Summary
Constants inherited from AppStoreServerApi::Error
Instance Attribute Summary
Attributes inherited from AppStoreServerApi::Error
Instance Method Summary collapse
-
#initialize(code: 4010000, message: 'unauthorized error', response:) ⇒ UnauthorizedError
constructor
A new instance of UnauthorizedError.
Methods inherited from AppStoreServerApi::Error
Constructor Details
#initialize(code: 4010000, message: 'unauthorized error', response:) ⇒ UnauthorizedError
Returns a new instance of UnauthorizedError.
35 36 37 |
# File 'lib/app_store_server_api/error.rb', line 35 def initialize(code: 4010000, message: 'unauthorized error', response:) super(code: code, message: , response: response) end |