Skip to main content

Notifications

Power Automate - Connector Development
Unanswered

A Numeric string is not considered as a 'string' data type but 'integer'

(0) ShareShare
ReportReport
Posted on by

I selected data type String. However, the data may consist of numbers only but still string of numbers. 

I'm unable to update the connector because it understands "12345" as numbers instead of string. However, it has to be of string data type. Any way to work around this?


See Errors below the image.

 

saafh_0-1636120660275.png

 

ERROR 1:  In case of 'Dropdown type' and its static 'Value' is set to 12345

Specified swagger has the following errors: 'Definition is not valid. Error: 'Error : paths/~1api.xro~12.0~1Invoices/post/parameters/3/enum : The type of the enum value is 'Integer' but it should be 'String' as specified in the schema. '

 

ERROR 2: In case of the 'Default Value' is set to 12345

Specified swagger has the following errors: 'Definition is not valid. Error: 'Error : paths/~1api.xro~12.0~1Invoices/post/parameters/3/enum : The type of the enum value is 'Integer' but it should be 'String' as specified in the schema. ## Error : paths/~1api.xro~12.0~1Invoices/post/parameters/3/default : The 'default' value is of type 'Integer', but should match the given type 'String'. '
 
  • murshed Profile Picture
    murshed on at
    Re: A Numeric string is not considered as a 'string' data type but 'integer'

    Try editing the swagger and specifying there.

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION ☑️. If you find this reply helpful, please consider giving it a LIKE 👍.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,526

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard

Featured topics