-
Notifications
You must be signed in to change notification settings - Fork 28
Description
Has your issue been reported?
- I have searched the existing issues and confirm it has not been reported.
- I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.
Current Behavior
While attempting to deploy an API to an existing (and functioning) API Group, I receive the error:
Not Deployed (Error)
with the tooltip
Error: Unknown error. Please contact support@flutterflow.io.
The API group had been successfully deployed prior to this error and the new API was tested and working prior to deployment.
I have several API groups all with > 1 APIs that are working and deployed. It seems to be an issue with:
- Customer.IO
- Retool Webhooks
See steps to reproduce for more...
Expected Behavior
The new API deploys without error
Steps to Reproduce
For Customer.IO
-
Add an API group
-
- API Base URL:
https://track.customer.io/api/
- API Base URL:
-
- Header:
content-type: application/json
- Header:
-
- Header:
Authorization: Basic [API KEY]
- Header:
-
Add an API
-
- API Endpoint: POST
v2/entity
- API Endpoint: POST
-
- Add JSON body with variables
{ "type": "person", "identifiers": { "id": "<id>" }, "action": "event", "name": "visit", "attributes": { "action": "<action>", "note": "<note>", "event_source": "<event_source>" } }
- Add JSON body with variables
-
Add a 2nd API
-
- API Endpoint: POST
v2/entity
- API Endpoint: POST
-
- Add different JSON body/variables
{ "type": "person", "identifiers": { "id": "<id>" }, "action": "event", "name": "insurance", "attributes": { "action": "<action>", "note": "<note>", "event_source": "<event_source>" } }
- Add different JSON body/variables
NOTE: I'm also having this issue with Retool webhooks but it appears to only occur when I'm sharing the same webhook but posting a different JSON body.
Reproducible from Blank
- The steps to reproduce above start from a blank project.
Bug Report Code (Required)
n/a unless there is a way to generate for API deployment?
Context
Customer.IO accepts events (via this API call) which are then used to kick off customer communications/campaigns, etc. Although the API Endpoint is the same, the JSON payload can be significantly different from event to event (e.g. 'add insurance event' vs. 'appointment cancelled event')
Visual documentation
Additional Info
No response
Environment
- FlutterFlow version: v3.1
- Platform: MacOS Desktop & Web
- Browser name and version: Chrome
- Operating system and version affected: macOS Ventura 13.4 (22F66)