{"action":"created","issue":{"url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/2536","labels_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/2536/labels{/name}","comments_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/2536/comments","events_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/2536/events","html_url":"https://github.com/tomchristie/django-rest-framework/issues/2536","id":57215845,"number":2536,"title":"`null`  using multipart and `HyperlinkedRelatedField` is triggering error","user":{"login":"spac3-monkey","id":10178237,"avatar_url":"https://avatars.githubusercontent.com/u/10178237?v=3","gravatar_id":"","url":"https://api.github.com/users/spac3-monkey","html_url":"https://github.com/spac3-monkey","followers_url":"https://api.github.com/users/spac3-monkey/followers","following_url":"https://api.github.com/users/spac3-monkey/following{/other_user}","gists_url":"https://api.github.com/users/spac3-monkey/gists{/gist_id}","starred_url":"https://api.github.com/users/spac3-monkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spac3-monkey/subscriptions","organizations_url":"https://api.github.com/users/spac3-monkey/orgs","repos_url":"https://api.github.com/users/spac3-monkey/repos","events_url":"https://api.github.com/users/spac3-monkey/events{/privacy}","received_events_url":"https://api.github.com/users/spac3-monkey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tomchristie/django-rest-framework/labels/Needs%20confirmation","name":"Needs confirmation","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-10T18:34:13Z","updated_at":"2015-02-11T09:27:28Z","closed_at":null,"body":"As title says, using `multipart/form-data` when creating an object with the proper serializer and having a `HyperlinkedRelatedField` defined as non `required` and `allow_null` it throws a validation error when trying to set to `null` the current field: 'Invalid hyperlink - Incorrect URL match.'"},"comment":{"url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/comments/73853382","html_url":"https://github.com/tomchristie/django-rest-framework/issues/2536#issuecomment-73853382","issue_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/2536","id":73853382,"user":{"login":"tomchristie","id":647359,"avatar_url":"https://avatars.githubusercontent.com/u/647359?v=3","gravatar_id":"","url":"https://api.github.com/users/tomchristie","html_url":"https://github.com/tomchristie","followers_url":"https://api.github.com/users/tomchristie/followers","following_url":"https://api.github.com/users/tomchristie/following{/other_user}","gists_url":"https://api.github.com/users/tomchristie/gists{/gist_id}","starred_url":"https://api.github.com/users/tomchristie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomchristie/subscriptions","organizations_url":"https://api.github.com/users/tomchristie/orgs","repos_url":"https://api.github.com/users/tomchristie/repos","events_url":"https://api.github.com/users/tomchristie/events{/privacy}","received_events_url":"https://api.github.com/users/tomchristie/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T09:27:28Z","updated_at":"2015-02-11T09:27:28Z","body":"See this for multipart and `None` - https://github.com/tomchristie/django-rest-framework/pull/2495 - worth having a browse through that thread first to see if this is the same thing."}}