Answers.Body: <p>This appears to have been fixed in <a href="https://github.com/craftcms/feed-me/releases/tag/5.1.4" rel="nofollow noreferrer">v5.14</a>.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-08-30T14:53:34.507Z
Answers.LastActivityDate: 2023-08-30T14:53:34.507Z
Answers.UserDisplayName: plaintxt
Body: <p>I have a feed that needs to map data to a lightswitch field. When the API returns data for that field that equates to boolean true, it works fine. But when the data equates to boolean false (&quot;false&quot; &quot;no&quot; &quot;0&quot;), the data is being removed from processing.</p>
  <p>After running the feed, I go to Logs and expand one of the items. The &quot;{{ feed name }}: Data ready to import&quot; item shows all data returned from the API except the one that needs to be mapped to the lightswitch. Again, it's only removed when the value equates to boolean false.</p>
  <p>So when running the feed, the lightswitch is able to move from off to on, but not from on to off.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-08-11T21:11:28.513Z
Comments.Text: Can you provide an example of the returned API data?
Comments.UserDisplayName: CraftQuest
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-08-14T00:30:07.997Z
Comments.Text: @CraftQuest ```{"ID":"9643c70f12343dk0e039a093a0a1544","name":"Darth Vader","objCode":"USER","homeGroupID":"5e5020c201c4edc31aea2a26","firstName":"Darth","lastName":"Vader","title":"Sith Lord","emailAddr":"darth@vader.com","phoneNumber":"15551231234","phoneExtension":"3223","DE:Employee Type":"FTE","DE:Executive Team":"0","DE:User is Remote":"Yes"}``` - The Executive Team item is the one in question.
Comments.UserDisplayName: plaintxt
Tags: <plugin-feedme><craft4>
Title: Boolean false Feed Me data is not being processed
ThreadText: # Boolean false Feed Me data is not being processed
  
  (Asked by: username_0 on 2023-08-11)
  
  I have a feed that needs to map data to a lightswitch field. When the API returns data for that field that equates to boolean true, it works fine. But when the data equates to boolean false ("false" "no" "0"), the data is being removed from processing.
  
  After running the feed, I go to Logs and expand one of the items. The "{{ feed name }}: Data ready to import" item shows all data returned from the API except the one that needs to be mapped to the lightswitch. Again, it's only removed when the value equates to boolean false.
  
  So when running the feed, the lightswitch is able to move from off to on, but not from on to off.
  
  **Tags:** plugin-feedme, craft4
  
  > **Comments:**
  > **username_1**: Can you provide an example of the returned API data?  
  > **username_0**: @username_1 ```{"ID":"9643c70f12343dk0e039a093a0a1544","name":"Darth Vader","objCode":"USER","homeGroupID":"5e5020c201c4edc31aea2a26","firstName":"Darth","lastName":"Vader","title":"Sith Lord","emailAddr":"darth@vader.com","phoneNumber":"15551231234","phoneExtension":"3223","DE:Employee Type":"FTE","DE:Executive Team":"0","DE:User is Remote":"Yes"}``` - The Executive Team item is the one in question.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2023-08-30. Score: 1
  
  This appears to have been fixed in [v5.14](https://github.com/craftcms/feed-me/releases/tag/5.1.4).
  
  
  ---
  
  