AMPLIFY Runtime Services FAQ

Amplify Runtime Services is deprecated and will be discontinued effective September 1, 2022.

This document provides references to answer several AMPLIFY Runtime Services (API Runtime Services) frequently asked questions (FAQs).

Exceptions are thrown upon deployment

Exception in app.js outside start() method

See Exception in app.js outside start() method for details on this exception.

Exception inside app.js start() method

See Exception inside app.js start() method for details on this exception.

Exception in a controller, outside of a function

See Exception in a controller, outside of a function for details on this exception.

Exceptions are thrown at runtime

Exception in synchronous calls handling requests

See Exception in synchronous calls handling requests for details on this exception.

Exception in asynchronous callbacks handling requests (or background jobs)

See Exception in asynchronous callbacks handling requests (or background jobs) for details on this exception.

Application crashes while handling requests

See Application crashes while handling requests for details on this exception.

Application crashes while running background jobs

See Application crashes while running background jobs for details on this exception.

Installation errors

Error: ENOENT, no such file or directory

See Error: ENOENT, no such file or directory for details on this exception.

Login errors

Error: Invalid access token. Please login again with "Amplify auth login"

See Error: Invalid access token. Please login again with "Amplify auth login" for details on this exception.

Error: Invalid Appcelerator 360 login credentials. Check your user name and password and try again.

See Troubleshooting Appcelerator 360 login error to address this exception. 

Parameter settings / errors / omission

Can I apply parameters universally across my organization / account without specifying any application? 

See Can I apply parameters universally across my organization/account without specifying any applications? for details.

When I include multiple parameter in my command, only one of the parameter is executed. What do I need to do?

See When I include multiple parameter in my command, only one of the parameter is executed. What do I need to do? for details.

Publication errors

Error: You do not have sufficient privileges ... Please contact your administrator to assign access for this organization. 

See Error: You do not have sufficient privileges ... Please contact your administrator to assign access for this organization for details.

Error: Couldn't find app directory for publishing.  

See Error: Couldn't find app directory for publishing for details.

Post-publication errors  

Error: Option autoscale available only in 2.0.0

See Error: Option autoscale available only in 2.0.0 for details.

Error: Application timing out with 504 Gateway Timeout error

See Error: Application timing out with 504 Gateway Timeout error for details. 

Configuring the service entry point

Service entry points configured with main and start in node.js applications

See AMPLIFY Runtime Services Configuring the Service Entry Point for details.

Related Links