Skip to main content

Cookie settings

We use cookies to ensure the basic functionalities of the website and to enhance your online experience. You can choose for each category to opt-in/out whenever you want.

Essential

Preferences

Analytics and statistics

Marketing

This proposal has been implemented

We have solved this incidence. You can follow the status here 

GraphQL: Cannot return null for non-nullable field

Avatar: Pablo Aragón Pablo Aragón Finished
I have been testing the GraphQL API to retrieve the proposals from the PAM process at Decidim Barcelona. By using a basic query to get id, title and author name (see http://bit.ly/2LkKKO0) some proposals of the first page are shown as null with an error message saying "Cannot return null for non-nullable field Proposal.author". This happens in proposals like BCN-PROP-2016-01-966 with null 'author' while this field was defined as a non-nullable (this error also exists in other fields like 'scope').
Comment

Confirm

Please log in

The password is too short.

Share