Unable to publish flow yaml file

I am unable to publish a flow yaml file neither through terraform nor archy.
Getting these errors:

  • ERROR! session startup initialization for startWithClientIdAndSecret complete. Caught unhandled exception waiting for callback function returned promise to resolve. -- [ArchSession, Environment:'prod', Host:'apps.usw2.pure.cloud', Region:'us-west-2', ArchSessionId:'H1T2K_QMo', OrgName:'Airbnb-PPE', OrgId:'36d19d4a-39db-45de-90cf-03ceab862c9d']
  • ERROR! ArchSession.startWithClientIdAndSecret - Caught unhandled exception during callback function execution. Ending session. Exception info: Failed to load the flow. -- [ArchSession, Environment:'prod', Host:'apps.usw2.pure.cloud', Region:'us-west-2', ArchSessionId:'H1T2K_QMo', OrgName:'Airbnb-PPE', OrgId:'36d19d4a-39db-45de-90cf-03ceab862c9d']
  • ERROR! ending the Session. Setting the exit code to 99. -- [ArchSession, Environment:'prod', Host:'apps.usw2.pure.cloud', Region:'us-west-2', ArchSessionId:'H1T2K_QMo', OrgName:'Airbnb-PPE', OrgId:'36d19d4a-39db-45de-90cf-03ceab862c9d']