Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update docs for adding REST API #8435

@dancj

Description

@dancj

Describe the content issue:
When adding custom resources like REST APIs in Gen2, it was not clearly explained that those need to be explicitly configured -- you cannot just call Amplify.configure(outputs) and expect the custom APIs, etc. to be added to your Amplify config.

In the case of custom REST APIs, this issue will manifest with thrown error API name is invalid when trying to call it.

Please update the docs to explain how this works more clearly, it does not stand out in the example at the bottom of this page.

URL page where content issue is:
https://docs.amplify.aws/react/build-a-backend/add-aws-services/rest-api/set-up-rest-api/

https://github.com/aws-amplify/docs/edit/main/src/pages/%5Bplatform%5D/build-a-backend/add-aws-services/rest-api/set-up-rest-api/index.mdx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions