Closed (fixed)
Project:
Power BI Integration
Version:
2.0.3
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
24 Jul 2025 at 17:22 UTC
Updated:
17 Mar 2026 at 08:53 UTC
Jump to comment: Most recent
When trying to create a new Content Type and add PowerBI Embed field, I get this error:
"This value should be of the correct primitive type" and all PowerBI Embed related fields are highlighted
This is on a Drupal 10.4.6 site
1) Create new Content Type
2) Add PowerBI Embed field to the Content Type
3) Fill all fields and try to Save
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
westdylank commentedI debugged this further and added the following code and printed out the value that was triggering this error in the /web/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php:
This is the value I get along with the error message. In the config form, I had used 100, 100, 100 for the breakpoints and % as the value type:
Comment #3
enriquelacoma commentedComment #5
enriquelacoma commentedComment #6
enriquelacoma commentedComment #7
aaron gil martinez commentedLooks good to me +1
Comment #8
aaron gil martinez commentedComment #10
enriquelacoma commentedComment #12
enriquelacoma commented