Announcement

Collapse
No announcement yet.

Import images from url error - "pattern matching"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Import images from url error - "pattern matching"

    Hi everyone,

    Don't know how to do it or if it is possible, i want to import images from a url, is that possible?

    For example i have a csv file with name,type,location,image(url),ect...

    When trying to import to an image entity field a receive an error of "pattern matching"

    How should i proceed?

    Thanks,

    Nunos
    Last edited by nunos; 09-10-2024, 10:49 AM.

  • #2
    Hi nunos,

    Please provide EspoCRM error log and related screenshots to get more details about your issue.

    Comment


    • #3
      Hi Vadym,

      Ok, let me try to explain it as best as i can,

      I have an csv file with data to be imported to EspoCRM, in that file there is a field that contain a url to an image file (http://www.server.com/data/39/image.jpg). On EspoCRM i have an image field where i want to import that image (from url)

      When i try to import receive an error of "pattern matching"​ (attached image)

      Can't understand anything from the log file:

      [2024-09-11 08:33:47] WARNING: E_WARNING: Undefined array key 40 {"code":2,"message":"Undefined array key 40","file":"/home/cloudser/public_html/crm/application/Espo/Tools/Import/Import.php","line":1195}
      [2024-09-11 08:33:47] WARNING: E_WARNING: Undefined array key 43 {"code":2,"message":"Undefined array key 43","file":"/home/cloudser/public_html/crm/application/Espo/Tools/Import/Import.php","line":1204}
      [2024-09-11 08:33:47] WARNING: E_WARNING: Undefined array key 40 {"code":2,"message":"Undefined array key 40","file":"/home/cloudser/public_html/crm/application/Espo/Tools/Import/Import.php","line":1195}
      [2024-09-11 08:33:47] WARNING: E_WARNING: Undefined array key 43 {"code":2,"message":"Undefined array key 43","file":"/home/cloudser/public_html/crm/application/Espo/Tools/Import/Import.php","line":1204}
      [2024-09-11 08:33:47] WARNING: E_WARNING: Undefined array key 40 {"code":2,"message":"Undefined array key 40","file":"/home/cloudser/public_html/crm/application/Espo/Tools/Import/Import.php","line":1195}
      [2024-09-11 08:33:47] WARNING: E_WARNING: Undefined array key 43 {"code":2,"message":"Undefined array key 43","file":"/home/cloudser/public_html/crm/application/Espo/Tools/Import/Import.php","line":1204}
      [2024-09-11 08:33:47] WARNING: E_WARNING: Undefined array key 40 {"code":2,"message":"Undefined array key 40","file":"/home/cloudser/public_html/crm/application/Espo/Tools/Import/Import.php","line":1195}
      [2024-09-11 08:33:47] WARNING: E_WARNING: Undefined array key 43 {"code":2,"message":"Undefined array key 43","file":"/home/cloudser/public_html/crm/application/Espo/Tools/Import/Import.php","line":1204}

      Is there a special way or format to import images into EspoCRM?

      Thanks,

      Nunos​

      Comment


      • #4
        Hi all,

        I can see a similar post / problem related with importing images here: https://forum.espocrm.com/forum/feat...es-base-on-url

        Comment

        Working...
        X