• Resolved bharath007

    (@bharath007)


    This is the error i am getting.
    Error: The source for the import is invalid or could not be accessed.
    Kindly help me to solve this issue.

    • This topic was modified 5 years, 4 months ago by bharath007.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    What exact URL are you using? And does this JSON source use the required format for a TablePress table, which is a two-dimensional array?

    Regards,
    Tobias

    Thread Starter bharath007

    (@bharath007)

    Hi,

    The url which i am using to convert to table in Tablepress is working fine in my local.But When i try to implement in live server i am getting the above error,Which i mentioned.Please Kindly help me to solve this @tobiasbg.

    • This reply was modified 5 years, 4 months ago by bharath007.
    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    again: What exact URL are you using? And does this JSON source use the required format for a TablePress table, which is a two-dimensional array?
    I need to see all this, if you want me to help.

    Regards,
    Tobias

    Thread Starter bharath007

    (@bharath007)

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks! The problem here is that this not a valid TablePress table format.
    Tables in JSON have to look like

    [
    ["cell A1","cell B1","cell C1"],
    ["cell A2","cell B2","cell C2"],
    ["cell A3","cell B3","cell C3"]
    ]

    for them to be recognized.

    Regards,
    Tobias

    Thread Starter bharath007

    (@bharath007)

    Hi @tobiasbg,
    In my local server i gave same url but i didn’t get any error there and all works fine.In Live server only i got this error,May i know why.Thanks in advance

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    that’s interesting. To be honest, I don’t really know why. Are other URLs working on your live site?

    Regards,
    Tobias

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Importing table in tablepress using json url, getting error’ is closed to new replies.