Other: REST API: more details for "Cannot modify read-only table config"
AnsweredPlease return which tables cannot be modified by a PATCH on https://api.fivetran.com/v1/connectors/{connectorId}/schemas.
I have to manually try each and every one of them and lose a lot of time.
Current:
{"code":"IllegalState","message":"Cannot modify read-only table config"}
Desired:
{"code":"IllegalState","message":"Cannot modify read-only table config: foo, bar, baz"}
-
Official comment
Hey Guillaume, thanks for writing in! It looks like there are a couple things we could do here:
- Improve the error to specify which tables are read-only
- Potentially adjust the GET on schemas to return read-only
Would you use the second option or just the first? Would love to understand this a bit more.
Thank you!
Jimmy
-
Hi @Jimmy, in my case
- Better errors would have been helpful.
- Giving a hint to use GET on schemas to retrieve what's read only would have been helpful
- Adding an option to ignore read-only tables could be convenient
Best
Guillaume
Please sign in to leave a comment.
Comments
2 comments