Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support

InvalidStateError

Error occurs when a request cannot be processed due to being in the wrong state to process it.

Extends

  • Error

Constructors

new InvalidStateError()

new InvalidStateError(message): InvalidStateError

Parameters

message

string

Returns

InvalidStateError


Last updated: Jul 22, 2026