Hi @Niels Dekkers ,
Welcome to Microsoft Q&A platform and thanks for posting your question.
As I understand your query, you are trying to copy the data from REST API to MySQL database using copy activity. But the order of the columns in MySQL database is different than the source . Please let me know if my understanding is incorrect.
I tried to reproduce the same scenario with some dummy data and it worked for me . Note: As target database, I used Az SQL server (Not MySQL).
My suggestion would be to drop the target table and use Auto create option in the sink settings of copy activity to generate the target table schema . Once that is done after the first run, you can consider importing the schema in mapping tab and map each columns correctly.
Kindly let us know if it helps.
Hope this will help. Please let us know if any further queries.
------------------------------
- Please don't forget to click on
or upvote
button whenever the information provided helps you.
Original posters help the community find answers faster by identifying the correct answer. Here is how - Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators