-
Notifications
You must be signed in to change notification settings - Fork 73
Description
I have a [dbo].[Payment] table in my Azure SQL database. I've configured SQL Connection and it works correctly when I'm using it from Canvas App. However when I've tried the following PAC CLI command to generate PaymentService and PaymentModel, I'm getting error every time:
pac code add-data-source -a "shared_sql" -c "12361d4d5861472581aa422f582ed210" -t "[dbo].[Payment]" -d "my-sql-server.database.windows.net,my-db-name"
Error: An unexpected error occurred: Error processing file 'C:\Users\PiotrGaszewski\Desktop\CodeAppPoc\codeappsdemo\CodeAppPoc.power\schemas\sql\Payment.Schema.json': The JSON does not represent a valid data source.
The mentioned Payment.Schema.json is automatically generated by PAC CLI.
This is happening for every table in my database. Any idea what could be wrong?