Error when save input from the Power Bi visual

Our vision is to prevent errors as much as possible.

If you configure a field in the visual, and a corresponding column is not present in the writeback table, the visual will not display an error. The data for the field will simply not be included in the writeback process, until the corresponding column has been added to the writeback table.

Similarly, when a string/text is too long to fit the column size in the writeback table, the visual will cut the text accordingly.

Should you encounter an error you can find elaboration and suggested solutions in the table below.

Error message

Reason

Suggested Solutions

No column names returned

No writeback table has been configured in the visual, or the specified table is not present in the specified database

Ensure the writeback table in the database, fx using the sample script provided in the connection area of the visual.

 

Also check spelling of the schema or table/view.

 

Try to verify the specified writeback configuration by executing a SELECT statement with the schema and table name, using fx SQL Server Management Studio (SSMS)

Login failed for user '….'

Incorrect login information has been specified – this could be fx a misspelled database name

Try to verify the login information using fx SQL Server Management Studio (SSMS)

Failed to connect to '…' getaddrinfo ENOTFOUND '…'

Database hostname not correct or not filled in

Ensure valid database hostname in the connection area of the visual settings

License is required for writeback

No license has been assigned to the current user, and no legacy key has been provided in the connection area of the visual settings

Allocate a license to the current user in the Microsoft 365 Admin Portal.

If you have no licenses available you can start a free trial or purchase a license from AppSource

Yellow "Pending" triangle remains

If the yellow triangle remains and no data is saved in the database table, it can be because accoPLANNING tries to send a NULL value to a column with the "NOT NULL" constraint in the database writeback table

Either remove the NOT NULL constraint from the column in the Writeback table or ensure that the value being sent is not NULL.

“Encrypted message length is invalid”

Encrypted message length is invalid:

Credentials are not encrypted or encrypted with wrong key, thus does not match the expected syntax when decrypting. 

Cloud:

  • Re-enter you credentials, to attempt to encrypt the credentials.

  • If this does not work (password does not change to ******** in the settings), check that you are not having network issues

Selfhosted API:

  • Same as above ^

  • Additionally make sure API is running properly

  • Make sure that Encryption keys are provided for the API and/or that the keys are valid RSA keys

Reason: An instance-specific error occurred while establishing a connection to SQL Server. Connection was denied since Deny Public Network Access is set to Yes (https://docs.microsoft.com/azure/azure-sql/database/connectivity-settings#deny-public-network-access). 

To connect to this server, use the Private Endpoint from inside your virtual network (https://docs.microsoft.com/azure/sql-database/sql-database-private-endpoint-overview#how-to-set-up-private-link-for-azure-sql-database).

Your Azure SQL server is configured with no public network access and the firewall prevent the accoTOOL API to access the SQL database.

Open for Public network access on the Azure SQL server in the Azure portal or open the following IP address in the firewall settings on the Azure SQL server.

  • accoPLANNING: 23.97.172.45

  • accoMASTERDATA: 172.201.152.15