This resulted in an error that the âtypeâ key was not permitted. Removing the type: 'markdown' line solved the problem, and didnât seem to introduce any issues.
I upgraded to 3.1.7 after your response 13 days ago, then I went to do a new migration today and got a similar error, but it appears to be related to single-line text fields (the multi-line fields ran fine, and the error occurred at the first single-line field).
Hmm, sorry @fitzage⌠that might be another related bug Iâve let the dev know, but in the meantime, you can delete the "type": null line in data.attributes.appearance from the migration script and then run it again. If you find any other "type": nulls in the migration script, please delete or comment them all out.
@fitzage, could you please send me (via PM here, or a post, or emailing support@datocms.com) the broken migration script it generated, and/or let me know the command you used (including the project/env names) so I can try to replicate it and troubleshoot it better?
Well, I already migrated and I think I deleted the migration file (that I had edited out the "type": null lines.
In our current Corpsite project, the migration was when migrating AWS re:Invent Daily Winners as a completely new model, so perhaps you could do some testing with a similar model. One thing that could contribute here is that this is a single-instance model, which weâve never used before.
If you need more information about the model I can give it to you, but itâs basically just a few multi-line text fields and a few single-line text fields. It seemed that the single-line versions are what triggered the issues.
Sorry, the bug (it was indeed another bug) should be fixed for real now in 3.1.14! Iâm so sorry it took us a while to track it down.
PS Separately, it looks to me like your Corpsite project currently only has one user, but they cannot get into it because they donât have 2FA enabled and the project requires it. Was that intentional? Is this a project you only use programmatically, without ever logging into the CMS UIâŚ? Feel free to separately DM me or email support@datocms.com if you want to discuss that part of it.